package com.dream.example.consumer;

import com.dream.example.common.service.UserService;
import com.dream.rpc.config.RpcConfig;
import com.dream.rpc.utils.ConfigUtils;

/**
 * @author Dreamer
 */
public class ConsumerExample {


    public static void main(String[] args) {

        //获取配置文件中的rpc配置

        RpcConfig rpc = ConfigUtils.loadConfig(RpcConfig.class, "rpc");

        System.out.println(rpc);




    }





}
